package soen343.domain;

public class ShortAnswerQuestion extends Question {

	public ShortAnswerQuestion(String name) {
		super(name);
	}

	public String toHTML() {
		String html = "<div class=\"questionText\">" + getText() + "</div>\n" +
			"<div class=\"questionInput\"><input type=\"text\" id=\"" + getName() + "\" /></div>"; 
		return html;
	}
}
